home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
zbpc_460.zip
/
TUTOR.EXE
/
RUN.DOC
< prev
Wrap
Text File
|
1988-11-04
|
1KB
|
34 lines
Compiling, Running and Tracing ZBASIC Programs
...
COMPILE forces a test compile without running the program and
displays all errors found.
RUN compiles in memory and executes the program.
RUN* compiles in memory, prompts you for a filename, and saves
the compiled program as the filename.
RUN+ compiles and saves as a CHAIN program. This is primarily
used when you're pressed for memory. In a BASE CHAIN
program you define variables to be retained in all
chained programs, then call the chained programs for
SUB CHAIN programs.
...
You can also do compiles from the DOS level like this:
ZBASIC SOURCE-FILE-NAME PROGRAM-FILE-NAME
...
There are several tracing options available in ZBASIC :
...
TRON displays line numbers as the program executes.
...
TRONB checks for the BREAK key at the start of each line, if
found the program terminates. Remember, as the program
runs, it is already compiled, so breaking like in
Microsoft Interpreter Basic is not as easy.
...
TRONS turns on single-step tracing, steps through the program
one command (not line) at a time, pausing after each
command until a key is pressed. Once selected can be
toggled on and off with <CTRL> - Z (or <F6>).
...
TROFF deselects tracing.
...
Finally, to quit the ZBASIC compiler, the command is QUIT.